package com.postracker.initdatabase.db;

public final class DataBaseFactory {

	private static final DataBaseFactory INSTANCE = new DataBaseFactory();

	private static final String SQLITE_DRIVER = "org.sqlite.JDBC";
	private static final String DB_URL = "jdbc:sqlite:db/postracker.db";

	private DataBaseFactory() {
		// Limit scope
	}

	public static DataBaseFactory getInstance() {
		return INSTANCE;
	}

	public DataBase createNewSqliteDB() {
		return new DataBase(SQLITE_DRIVER, DB_URL);
	}

}
